package com.ai.bitcoin.service.impl;

import com.ai.bitcoin.jpa.dao.BccSubCoinDao;
import com.ai.bitcoin.service.SubCoinService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service(value="subCoinService")
public class SubCoinServiceImpl implements SubCoinService {

    @Autowired
    private BccSubCoinDao bccSubCoinDao;

    @Override
    @Transactional
    public void checkExpireSubCoin() {
        bccSubCoinDao.checkExpireSubCoin();
    }
}
